Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@abtasty/widget-utils
Advanced tools
Collection of useful functions for AB Tasty Widgets.
Inside your Widget folder, install the widget-utils
library:
npm install @abtasty/widget-utils
Note: you can also use yarn instead of npm: yarn add @abtasty/widget-utils
With Webpack or Rollup.js:
import { waitForElement, isAffected } from '@abtasty/widget-utils';
const waitForBody = waitForElement('#section', (section) => {
section.insertAdjacentHTML('beforeend', '<p>New paragraph at the end of that section.</p>');
});
setTimeout(() => {
if (!isAffected()) {
waitForBody.clear();
}
}, 10000);
When you have installed and build your locally project :
npm link
in your widget-utils
foldernpm link @abtasty/widget-utils
editor
project.First, install your widget-utils
, copy the path of the project.
Then, In your local widget project :
npm install
, delete the folder /node_modules/@abtasty/widget-utils
/node_modules/@abtasty/
ln -s {your path to widget-utils project folder} widget-utils
A symlink has been created in your widget project, with the folder: /node_modules/@abtasty/widget-utils
The fonts.js file in this repo is exposing the Google Fonts from ABTasty CDN (which is populated by this repo: https://gitlab.com/abtasty/turfu/common-fonts)
Any changes in the common-fonts repo must follow the font regeneration here.
To regenerate the fonts.js file,
yarn run generateFonts
Once the MR is approved, follow the following steps:
npm
with npm publish
FAQs
Collection of useful functions for AB Tasty Widgets.
We found that @abtasty/widget-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 30 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.